<?php
namespace app\index\controller;
use think\Controller;
use think\Db;

class Lst extends Controller
{
    public function lst()
    {
        $data = Db::name("user")->select();
        foreach ($data as $key => $item){
            echo $item['user_name'];
        }
        return $this->fetch();
    }
}